#!/bin/bash

false=0
true=1

countFiles=`grep processor /proc/cpuinfo | wc -l`
processes=`ps -ef | wc -l`
countOpenPorts=`lsof -i | wc -l`
if [ $false -eq $true ] 
then
	echo "test"
else 
	echo "It worked"
fi
if [ $countFiles -eq 2 ]
then
	echo "There is enough CPU's"
fi
echo "There are " $processes " processes"
echo "There are " $countOpenPorts " open ports"
